package util;

/** Data object storing the actions for one player on one turn. */
public class ActionSet {
	/** The ID of the player who is about to perform the actions. */
	public int playerID;
	/** The turn number that the actions are to be performed. */
	public int turnID;
	/** The dx that the player wants to move. */
	public double moveX;
	/** The dy that the player wants to move. */
	public double moveY;
	/** The ID of the spell that the player wants to cast. */
	public int castID;
	/** The X coord of the target of the spell to be cast. */
	public double castTargetX;
	/** The Y coord of the target of the spell to be cast. */
	public double castTargetY;
	public ActionSet() {
		playerID = -1;
		turnID = -1;
		moveX = 0;
		moveY = 0;
		castID = -1;
		castTargetX = 0;
		castTargetY = 0;
	}
	public String toString() {
		return "[playerID="+playerID+" turnID="+turnID+" moveX="+moveX+" moveY="+moveY+
		" castID="+castID+ " castX="+castTargetX+" castY=" +castTargetY+"]";
	}
}
